package com.oo.polymorphic_4.fruit;

/**
 * Jujube--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 11:02
 **/
public class Jujube extends Fruit {
    public Jujube() {
    }

    public Jujube(String name, String flavor) {
        super(name, flavor);
    }

    @Override
    public void eat() {
        System.out.println(this.getName()+"\n口感："+"\n洗净直接吃就行了");
    }
}
